package com.scut.shangxueguan.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class Files {

    private long id;

    private String name;

    private long size;

    @DateTimeFormat(pattern = "YYYY-MM-dd hh:mm:ss")
    private LocalDateTime createTime;
}
